package com.flyco.modules.pms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 旺店通产品库存表
 * @Author: flyco
 * @Date:   2023-08-17
 * @Version: V1.0
 */
@Data
@TableName("stm_jd_wms_stock")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="stm_jd_wms_stock对象", description="产品库存表")
public class StmJdWmsStock {

	@ApiModelProperty(value = "商家id")
	private Long partnerId;

	/**货品名称*/
	@Excel(name = "货品名称", width = 15)
    @ApiModelProperty(value = "货品名称")
	private String productName;
	/**规格码*/
	@Excel(name = "规格码", width = 15)
    @ApiModelProperty(value = "规格码")
	private String specCode;
	/**可用库存*/
	@Excel(name = "可用库存", width = 15)
    @ApiModelProperty(value = "可用库存")
	private Integer stock;
	/**仓库编号*/
	@Excel(name = "仓库编号", width = 15)
    @ApiModelProperty(value = "仓库编号")
	private String wareHouseNo;
	/**货品编号*/
	@Excel(name = "货品编号", width = 15)
    @ApiModelProperty(value = "货品编号")
	private String skuCode;
	/**品牌*/
	@Excel(name = "品牌", width = 15)
    @ApiModelProperty(value = "品牌")
	private String brandName;
	/**0正常 1质检*/
	@Excel(name = "0正常 1质检", width = 15)
    @ApiModelProperty(value = "0正常 1质检")
	private Integer type;
	/**商家编码*/
	@Excel(name = "商家编码", width = 15)
    @ApiModelProperty(value = "商家编码")
	private String specNo;
	/**true：残次品 false：正品*/
	@Excel(name = "true：残次品 false：正品", width = 15)
    @ApiModelProperty(value = "true：残次品 false：正品")
	private String defect;
	/**货品简称*/
	@Excel(name = "货品简称", width = 15)
    @ApiModelProperty(value = "货品简称")
	private String shortName;
	/**规格名称*/
	@Excel(name = "规格名称", width = 15)
    @ApiModelProperty(value = "规格名称")
	private String specName;
	/**主条码*/
	@Excel(name = "主条码", width = 15)
    @ApiModelProperty(value = "主条码")
	private String barcode;
	/**分类*/
	@Excel(name = "分类", width = 15)
    @ApiModelProperty(value = "分类")
	private String className;
	/**0 正常 1缺货 2到货*/
	@Excel(name = "0 正常 1缺货 2到货", width = 15)
    @ApiModelProperty(value = "0 正常 1缺货 2到货")
	private Integer status;
	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private Integer id;
	/**创建日期*/
	@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**修改日期*/
	@Excel(name = "修改日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "修改日期")
	private Date updateTime;
}
